package com.qf.pojo;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.pojo
 * @Description: 自定义地址类
 * @Date 2022/6/4 9:29
 */
public class Address {
    private String addr;

    //进行构造方法注入需要重写构造方法
    public Address(String addr) {
        this.addr = addr;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addr='" + addr + '\'' +
                '}';
    }
}
